package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ywpt.components.acegi.domain.User;

public class DeptSumUp implements java.io.Serializable{

	/**
	 * 部门总结
	 */
	private static final long serialVersionUID = -6539287183408641778L;
	private Long id;
	private String title;
	private CommonTable sumUpType;
	private Date beginDate; 
	private Date endDate;
	private Department depart;
	private PeopleInfo createPeople;
	private User createUser;
	private Date createDate;
	private User modifyUser;
	private Date modifyDate;
	private Boolean deleteFlag;
	private Set<DeptSumUpDtl> deptSumUpDtlSet = new HashSet<DeptSumUpDtl>();
	private Set<DeptsumScan> scanSet = new HashSet<DeptsumScan>();
	
	
	public Set<DeptsumScan> getScanSet() {
		return scanSet;
	}

	public void setScanSet(Set<DeptsumScan> scanSet) {
		this.scanSet = scanSet;
	}

	public DeptSumUp(){
		this.deleteFlag = false;
	}
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public CommonTable getSumUpType() {
		return sumUpType;
	}
	public void setSumUpType(CommonTable sumUpType) {
		this.sumUpType = sumUpType;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
 
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Department getDepart() {
		return depart;
	}

	public void setDepart(Department depart) {
		this.depart = depart;
	}

	public PeopleInfo getCreatePeople() {
		return createPeople;
	}
	public void setCreatePeople(PeopleInfo createPeople) {
		this.createPeople = createPeople;
	}
	public User getCreateUser() {
		return createUser;
	}
	public void setCreateUser(User createUser) {
		this.createUser = createUser;
	}
 
	public User getModifyUser() {
		return modifyUser;
	}
	public void setModifyUser(User modifyUser) {
		this.modifyUser = modifyUser;
	}
 
	public Set<DeptSumUpDtl> getDeptSumUpDtlSet() {
		return deptSumUpDtlSet;
	}
	public void setDeptSumUpDtlSet(Set<DeptSumUpDtl> deptSumUpDtlSet) {
		this.deptSumUpDtlSet = deptSumUpDtlSet;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
}
